using net_work.Data.DTO.Cou;
using net_work.Data.Entity.Cou;

namespace net_work.IRepository.Cou;

public interface ITeacherTeachingRepository : IRepository<TeacherTeaching>
{
    /// <summary>
    /// 插入教师授课
    /// </summary>
    /// <param name="teacherTeachingAddRequest">插入教师授课</param>
    /// <returns>插入的教师授课ID</returns>
    Task<long> InsertAsync(TeacherTeachingAddRequest teacherTeachingAddRequest);

    /// <summary>
    /// 更新教师授课信息
    /// </summary>
    /// <param name="teacherTeachingUpdateRequest">更新教师授课信息</param>
    /// <returns>是否成功</returns>
    Task<bool> UpdateAsync(TeacherTeachingUpdateRequest teacherTeachingUpdateRequest);
}